/**
 * Created by Steven_ on 2016/12/9.
 */
var path = require('path');
module.exports = {
    entry: './src/js/app.js',
    output: {
        path: __dirname+'/dist',
        filename: 'bundle.js'
    },
    module:{
        loaders:[
            {
            test:/\.css$/,//目标文件
            loader:'style-loader!css-loader'
                //后面loader把文件加载到bundle.js中
                //前面的loader吧bundle中的样式加载到页面中
        }]
    }
};
